package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 代驾服务表 drivingcar
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Drivingcar extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 代驾服务ID */
	@Excel(name = "代驾服务ID")
	private Integer drivingcarId;
	/** 代驾服务名称 */
	@Excel(name = "代驾服务名称")
	private String name;
	/** 救援电话1 */
	@Excel(name = "救援电话1")
	private String moblePhone1;
	/** 救援电话2 */
	@Excel(name = "救援电话2")
	private String moblePhone2;
	/** 服务说明 */
	@Excel(name = "服务说明")
	private String serviceNote;
	/** 地址 */
	@Excel(name = "地址")
	private String adress;
	/** 地图坐标 */
	@Excel(name = "地图坐标")
	private String zuobiao;
	/** 状态 */
	@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
	private String status;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "备注")
	private String attribute;

	public void setDrivingcarId(Integer drivingcarId) 
	{
		this.drivingcarId = drivingcarId;
	}

	public Integer getDrivingcarId() 
	{
		return drivingcarId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setMoblePhone1(String moblePhone1) 
	{
		this.moblePhone1 = moblePhone1;
	}

	public String getMoblePhone1() 
	{
		return moblePhone1;
	}
	public void setMoblePhone2(String moblePhone2) 
	{
		this.moblePhone2 = moblePhone2;
	}

	public String getMoblePhone2() 
	{
		return moblePhone2;
	}
	public void setServiceNote(String serviceNote) 
	{
		this.serviceNote = serviceNote;
	}

	public String getServiceNote() 
	{
		return serviceNote;
	}
	public void setAdress(String adress) 
	{
		this.adress = adress;
	}

	public String getAdress() 
	{
		return adress;
	}
	public void setZuobiao(String zuobiao) 
	{
		this.zuobiao = zuobiao;
	}

	public String getZuobiao() 
	{
		return zuobiao;
	}
	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getStatus()
	{
		return status;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drivingcarId", getDrivingcarId())
            .append("name", getName())
            .append("moblePhone1", getMoblePhone1())
            .append("moblePhone2", getMoblePhone2())
            .append("serviceNote", getServiceNote())
            .append("adress", getAdress())
            .append("zuobiao", getZuobiao())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
